import { Link } from "@mui/material";
function Bread(props) {

    function handleClick(e) {
        console.log(e)
        if (props.onBreadClick) {
            props.onBreadClick(props.fileId)
        }
    }



    return (<Link key={props.fileId} onClick={handleClick} >{props.children}</Link>)
}

export default Bread;